updating jade, adding ajax call