Change dlocation of def