method to add properties to lua table