Update functionspies.js