update motion