update method to get binop