upgrade software function for cms2