update onCreate doregisterinbackground