db updated and all bugs removed