added edit update and destroy controllers