Saving pan tilt params to database