update code for Depot import