setting page title when updating