update removed drupal function from civi extension