updates title tag