queries performed by methods in update_static_content for compare graphs now perform joins on deviceid rather than ip