right and left accelerations updated