deletes everything on the server, then adds the current post