Fixes #1: the headers is updated properly