my attempt at updating depot periodically