using code to update connection interval in APP.