episode: optimize #update_last_episode