modify event doc and button doc