local db change