Store letters (with position) in database