changed database schema and made appropriated changes