add service post prepare callback