changed attachment url in representer