updates in update function