updated entity build