implement lookup and update for slotted page