Adding extension to databases