updates lukes code