database and map modified