fix and ADD NEW DATABASE