Update require code