Using table cache for editing messages