changing status to published from draft