Update jQuery functions