edit post contents and title