updete pixel replace script