mostly debugged, update stage unimplemented