adding numberaffected the third option for save which tells if the record was found and updated or blankly created a new one