Update range query for events