automated database updating command added