Refresh ol code