Update versions and flags