fixed edit/advert and add duration_time