update deprecated flag