Fixed update, delete and add methods.