update browser-up and moved it to Before hook