Add function add_data to Session, if there are existed data we should update the data information other than insert it