There are 2 objects. Object A and object B with same fields. There is no relationship between them (no lookup). When a record is inserted in object A, object B should be checked to see if the same record exists. If it exists then update it else create a new one. How do I do this. Please assist.