updated frontend with remove letter functionality