Making changes for edit team task to prevent some php declaration issues