Update DB referanses