fixed conditional updating deployed commit value