Update player_functions.lua