added update-att fn