added edit update and destroy