Updating contents of functions