Update to simplify create dir callback