I couldn't find the function updateVpath that you are calling onSaveDone in any of the 2 .js files that you have attached. Have you attached all .js files?-Anurag