updating maxstatements