update show, create and stroe method for restful api