admitReject updated for ajax