Added database update feature