Updated drupal core to 7.24 and updated entity reference