modify latest function in overview page