altered all files where 'type' attribute of 'entity' was used