.save method to save records to the server