Diagonal bundle method with convex and concave updates for large-scale nonconvex and nonsmooth optimization