fixed update of gripper while executing pos command