rename dynamic directory