Update Cms Class
Improvements in Db Class