update jade file and fix some paths