Abstract code for updating based on delta offset