small fix in view-segment.update
add target `prod` into grunt