update rope offset