Reverted the change made to upser