Updates database structure. (Again.)