update interface to simply take path