add date check support
add new index and check max_id