added client scripts
update not sending twice