functions updated and db folder deleted