update reflect code