update labels and titles