Update fuction.js