make update-licences work again
add update-merlin script