update relative positioning