update status file