updates to getnextwork -> getnexttarget