change lw to lwL. change dependencies on new release of diagrams