updated entity methods and attributes