update App delegate