fix persistence
cc
generic sql update