update sql db operate class