Update client side code