fixed update performance issue in redshift jobs

introduced stage table concept for update and scd2