Update Functions.js