fixed update-motd script