add post edit and update