update the getFunctions