Changed to update package database as well