update client js