add event for upyun pre