Change definition of DeletePost