update registerActivity