log for update position state. remove old logs