upgrade software function for cms