article unpublished and edit functions