update version of ActiveResource to threadsafe version