Add Update Class and its work fine