Update directories and gradient documentation