added /updates route and modified the shared render_query