Update createABasicFunction