update agreement, update config