change the header title to be dynamic