refactored submit deltas