changed database adapter