Update deploy_functions.sh