update crop script