Update prepare dependencies script