Update print button from both server side and client side