Adding save functionality to re-save the record