Update pump code