set page title when updating