added new function to update Tman sample