changed rebuild back to redirect because of error message relating to node already being edited