Adding model for releases
Added release upserting