Update functions files