Updates database scheme