reworked the letter syncing functionality