Update gmCommand