update key procedure and add ascii module