Edit and destroy departments