fixing local data updating, fixing leisure execution