update deploy rules