Update wp_insert_attachment