js update. debug code delete