change type location