my method is update
added onCreate to Activity1.