Close and update on POST