updating links on database page