Problem was race condition where insert was taking 3 to 4 seconds and before that update command was triggered. I changed toe flow by enforcing insertion in db first and then going for actor creation of the specific type.