fix group album upload and media_type in migration