move optimize to run after every update_releases