Starting to update DecodeSave to save into database