Update f to use pushd