Update user_functions.lua