Make changes in database and ading space