implemented adding a new package to database