ajax calls to update tstata
ajax calls to update tstat