servivce locator db replace method