Updating release version logic