add state in partial of advert