modify create and search