fix activity id issue in activity update