update code does nothing