instead of searching each update, use references