Changes id database