update get thread api