update code self taught learning