Modify method is working using search method