made picture uploads work with new attachable records