In Model.update() using merge function for conditions