update Drupal core to 7.22
add API to setup form