adds support for updating pasties with images