updated has_attached_file params