cleanup Code for publishing
update