A diagrammatic approach to categorification of quantum groups II