preparing database with new columns and removing unneccesary