split "save" method  in"create" and "update"