added edit route
added edit resource