updated paths and setup db