patterns learning, updating......