Update path for newpost