updated the morse code api