merge two objects