change HMP directory