Grant to update Upshur County courthouse