add new post, change url for old post