update relative pos field when in position is changed