updated spawn to update and deploy repo first