Added Edit and Add New league functionality