2 FIXES:
1. if result == NULL the ingredient will still update (before it didn't)
2. test file - the function print ingredient was changed and doesn't include print result