Update painelFunctions.js