updates to affiliates and image edit