change type of post