Livingston city attorney takes job with the city of Helena