added sourceloc to entity table