Updating all functions