ops prev update sql was wrong, add update sql