sql update case else do nothing