1 example for drush
# Clear all the Drupal cache
drush cc all
# Perform the database update (executes the hook_update)
drush updb
# Clear all the Drupal cache
drush cc all
# Perform the database update (executes the hook_update)
drush updb