sql update for modified n created