Update image linking functions