reduce an sql update for notify user last update