update hypothesis