updated advert class
Merge remote-tracking branch 'origin/master'