updated all pubs and subs