save entity method
create entity and update entity methods