update functions to my_strstr