modify and add a new post