Update userfunctions.js