->update database structure
->various changes and bugfixes