update log method & add activity controller