Refactor link preview after initial submit