Update usefull_functions.js