updating movement controls