extend database