added entity key to services