fixed updating of robot loation