edit post method again