improve boinc update quries