add updated insert and update partial implementations