<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def updateproduct(self, category_id, product, position=None):
 """ Update assigned product :param category_id: ID of a category :param product: ID or Code of the product :param position: Position of product in category :return: boolean """

        return bool(self.call(
            'catalog_category.updateProduct', [category_id, product, position])
        )