update agent movements