Update require logic