Update functionality.h