update database hostname