Update Commands deprecation code