update flags for YCM