making batch update on assignments model