changed database endpoint