Updated code to edit and save release