added functionality to Deployment in admin tab