update 6 functions with Jquery