Closes #3407086
changed title from Updated command compatibility with Drush 12+ to Update commands to be compatible with Drush 12
merged