update check_conflict for get period