finishing up publish task