update cli flag in application