commit final changes before response setup