add return value for merge event