update database and bundle