add publish fragment