Update selected badge in form