changed uuid to md5 and associate database