Update SLIC code