rewrite edit model and controller, find method