When an update fails render edit and not new