Changed method of damaging and auto update database to true