Updates packages db