add a status task and fix the deploy task