User update code.