updates for offset